home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / graphics / scripts / DefineButton2_422 / BUTTONCONDACTION on(release).as < prev    next >
Encoding:
Text File  |  2002-03-20  |  395 b   |  15 lines

  1. on(release){
  2.    tellTarget("_level50")
  3.    {
  4.       gotoAndStop("off");
  5.    }
  6.    if(eval("_level0:" add eval("_level0:focus") add "_module") eq "ab")
  7.    {
  8.       set("_level40/sound/lib:sound","29");
  9.       call("_level40/sound/lib:play");
  10.       path = "_level15/" add _name.substr("1","2") add "/ab/codelib";
  11.       set(path add ":unloadMe","1");
  12.       call(path add ":unload");
  13.    }
  14. }
  15.